package ExerciseTwo;

import java.util.Random;

//import java.util.Scanner;

public class 赋值 {

	public static void main(String[] args)
	{
//		Scanner in =new Scanner(System.in);
//		System.out.println("请输入票面：");
//		int foot=in.nextInt();
//		System.out.println("请输入面值：");
//		int inch=in.nextInt();
//		System.out.println(foot+"-"+inch+"="+(foot-inch));
		for(int i=0;i<30;i++)
		{
			int number = (int)(Math.random()*(50-20+1)+20);
			System.out.print(number+"  ");
		}
//		Random r = new Random();
//		//int number = r.nextInt()*(30-10+1)+10;
//		for(int i=0;i<20;i++)
//		{
//			int number = r.nextInt()*(30-10+1)+10;
//			System.out.println(number+"  ");
//		}
	}
}
